﻿//  Copyright (c) 2011 Ray Liang (http://www.dotnetage.com)
//  Licensed MIT: http://www.opensource.org/licenses/mit-license.php

using System;
using System.ComponentModel.DataAnnotations;

namespace DNA.Mvc.Community
{
    [Table("community_moderators")]
    public class Moderator
    {
        [Key]
        public int ID { get; set; }
        
        public int ForumID { get; set; }

        [ForeignKey("ForumID")]
        public virtual Forum Forum { get; set; }
        
        [MaxLength(255)]
        public string UserName { get; set; }
    }
}
